﻿using Microsoft.Practices.Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ezpay.UI.ViewModels
{
    class NavigationViewModel
    {
        public List<MenuViewModel> Menus { get; set; }
        public NavigationViewModel(IRegionManager regionManager)
        {
            Menus = new List<MenuViewModel>(){
                new MenuViewModel(){
                    Title = "Customer",
                    Items = new List<MenuItemViewModel>(){
                        new MenuItemViewModel("New Customer", "NewCustomerViewModel", regionManager)
                    }
                },
                new MenuViewModel(){
                    Title = "Invoicing",
                    Items = new List<MenuItemViewModel>(){
                        new MenuItemViewModel("Invoice Status", "NewCustomerViewModel", regionManager),
                        new MenuItemViewModel("Reconciliation", "NewCustomerViewModel", regionManager)
                    }
                },
                new MenuViewModel(){
                    Title = "Maintenance",
                    Items = new List<MenuItemViewModel>(){
                        new MenuItemViewModel("Housing Agencies", "NewCustomerViewModel", regionManager),
                        new MenuItemViewModel("Service Types", "NewCustomerViewModel", regionManager),
                        new MenuItemViewModel("Service Providers", "NewCustomerViewModel", regionManager),
                    }
                }
            };
        }
    }
}
